#ifndef __CUSTOM_NVS_H__
#define __CUSTOM_NVS_H__
#include "esp_err.h"
typedef enum {
    DAP_SETTING = 0,
    UI_SETTING,

} custom_nvs_key_t;

esp_err_t custom_nvs_init(void);
esp_err_t custom_nvs_write(custom_nvs_key_t key, const void *value, size_t len);
esp_err_t custom_nvs_read(custom_nvs_key_t key, void *value, size_t max_len);
#endif //__CUSTOM_NVS_H__